import md5 from 'js-md5'

/**
 * [加密]
 * @param  {[string]} pwd [密码]
 * @return {[string]}     [加密后的密码]
 */
export const encryptMd5 = (pwd) => {
  return md5(pwd).toString()
}
